/*
 * Created on Jan 1, 2008
 * 
 * By Erick Audet for OTN
 *
 * Copyright (c) 2008 Oracle Corporation. All Rights Reserved.
 *
 *
 */

package com.sample.entities;

import com.sleepycat.persist.model.Persistent;
import com.sleepycat.persist.model.PrimaryKey;

@Persistent
public class Person{
	
	public Person() {
	}

	@PrimaryKey
	private String userName;	

	private String lastName;
	
	private String firstName;

	
	
	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getLastName() {
		return lastName;
	}

	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	public String getFirstName() {
		return firstName;
	}

	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	public Person(String userName, String lastName, String firstName) {
		super();
		this.userName = userName;
		this.lastName = lastName;
		this.firstName = firstName;
	}
	


}
